package ooday01;

public class Teacher extends  Person{
	double salry;
	Teacher(){
	}
	Teacher(String name,int age,String address,double salry){
		this.name = name;
		this.age = age;
		this.address = address;
		this.salry = salry;
	}
	void teach(){
		System.out.println(name+"正在讲课");
	}
}
